![]() |
PATH![]() |
![]() ![]() |
Draws a close box, zoom box, or collapse box.
pascal OSStatus DrawThemeTitleBarWidget (
ThemeWindowType flavor,
const Rect *contRect,
ThemeDrawState state,
const ThemeWindowMetrics *metrics,
ThemeWindowAttributes attributes,
ThemeTitleBarWidget widget);
The DrawThemeTitleBarWidget function draws theme-compliant title bar items. Your application should not typically need to call this function; DrawThemeTitleBarWidget is typically of use only for applications that need to draw title bar items of simulated windows. Note that while the DrawThemeWindowFrame function automatically draws all title bar items, your application must call the DrawThemeTitleBarWidget function during tracking, to ensure that the title bar items' states are drawn correctly.